/*
 * @Author: xinyang3
 * @Date: 2021-09-29 09:20
 * @Descripttion: awesome description
 * @LastEditors: xinyang3
 * @LastEditTime: 2021-09-30 12:05
 */
const bgs = [
  "#E3F2FD",
  "#E1F5FE",
  "#FCE4EC",
  "#E0F7FA",
  "#E0F2F1",
  "#E8F5E9",
  "#F1F8E9",
  "#F9FBE7",
  "#FFFDE7",
  "#FFF8E1",
  "#FFF3E0",
  "#FBE9E7",
  "#EFEBE9",
  "#FAFAFA",
  "#ECEFF1",
];

export default function intro() {
  const number = Math.random();
  const instance = {
    name: "",
    bgpic: require("../assets/imgs/me/river" +
      `${Math.ceil(number * 8) % 8}` +
      ".png"),
    bird: require("../assets/imgs/me/bird" +
      `${Math.ceil(number * 2) % 2}` +
      ".png"),
    bg: bgs[Math.ceil(number * 15) % 15],
    text: "",
  };
  return instance;
}
